Function: rng-xsd-months-seconds<
rng-xsd-months-seconds< is a byte-compiled function defined in
rng-xsd.el.gz.
Signature
(rng-xsd-months-seconds< MONTHS1 SECONDS1 MONTHS2 SECONDS2)
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/rng-xsd.el.gz
(defun rng-xsd-months-seconds< (months1 seconds1 months2 seconds2)
(let ((ret t)
(ref-dates xsd-duration-reference-dates))
(while (let* ((ref-date (car ref-dates))
(ref-year (car ref-date))
(ref-month (cdr ref-date)))
(unless (< (+ (rng-xsd-month-seconds months1
ref-year
ref-month)
seconds1)
(+ (rng-xsd-month-seconds months2
ref-year
ref-month)
seconds2))
(setq ret nil))
(and ret
(setq ref-dates (cdr ref-dates)))))
ret))